import request from '@/utils/request'

// 查询文章标签关系列表
export function listRelation_article_label(query) {
  return request({
    url: '/article/relation_article_label/list',
    method: 'get',
    params: query
  })
}

// 查询文章标签关系详细
export function getRelation_article_label(id) {
  return request({
    url: '/article/relation_article_label/' + id,
    method: 'get'
  })
}

// 新增文章标签关系
export function addRelation_article_label(data) {
  return request({
    url: '/article/relation_article_label',
    method: 'post',
    data: data
  })
}

// 修改文章标签关系
export function updateRelation_article_label(data) {
  return request({
    url: '/article/relation_article_label',
    method: 'put',
    data: data
  })
}

// 删除文章标签关系
export function delRelation_article_label(id) {
  return request({
    url: '/article/relation_article_label/' + id,
    method: 'delete'
  })
}
